package office.dao.person;

import platform.common.dao.impl.BaseDomainProviderImpl;

public class OverTimeDP extends BaseDomainProviderImpl  {
	
	public String getOverTimeByUid(){
		String hql = "from OverTime where user.id = ?";
		return hql;
	}
	public String getOverTimeByProcessUid(){
		String hql = "from OverTime where processUser.id = ? and status = ?";
		return hql;
	}
	public String getOverTimeForSum(){
		String hql = "from OverTime where status >= ? " +
		"and " +
		"( beginDate >= ? and beginDate <= ? ) ";
		return hql;
	}

}
